package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "cattle")
public class Cattle implements Serializable {
    /**
     * guid
     */
    @Column(name = "guid")
    private String guid;

    /**
     * 种类名称
     */
    @Column(name = "type")
    private String type;

    /**
     * 宰杀单价
     */
    @Column(name = "price")
    private Float price;

    /**
     * 单人宰杀单只时间单位分钟
     */
    @Column(name = "slaughter_time")
    private Integer slaughterTime;

    private static final long serialVersionUID = 1L;

    /**
     * 获取guid
     *
     * @return guid - guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置guid
     *
     * @param guid guid
     */
    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    /**
     * 获取种类名称
     *
     * @return type - 种类名称
     */
    public String getType() {
        return type;
    }

    /**
     * 设置种类名称
     *
     * @param type 种类名称
     */
    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    /**
     * 获取宰杀单价
     *
     * @return price - 宰杀单价
     */
    public Float getPrice() {
        return price;
    }

    /**
     * 设置宰杀单价
     *
     * @param price 宰杀单价
     */
    public void setPrice(Float price) {
        this.price = price;
    }

    /**
     * 获取单人宰杀单只时间单位分钟
     *
     * @return slaughter_time - 单人宰杀单只时间单位分钟
     */
    public Integer getSlaughterTime() {
        return slaughterTime;
    }

    /**
     * 设置单人宰杀单只时间单位分钟
     *
     * @param slaughterTime 单人宰杀单只时间单位分钟
     */
    public void setSlaughterTime(Integer slaughterTime) {
        this.slaughterTime = slaughterTime;
    }
}